home *** CD-ROM | disk | FTP | other *** search
/ Apple Developer Connection Student Program / ADC Tools Sampler CD Disk 3 1999.iso / Metrowerks CodeWarrior / Java Support / Java_Source / IFC_112 / netscape / util / InconsistencyException.java < prev    next >
Encoding:
Text File  |  1999-05-28  |  722 b   |  25 lines  |  [TEXT/CWIE]

  1. // InconsistencyException.java
  2. // By Ned Etcode
  3. // Copyright 1995, 1996, 1997 Netscape Communications Corp.  All rights reserved.
  4.  
  5. package netscape.util;
  6.  
  7. /** Error signaling that an inconsistent internal state has been
  8.   * discovered. Classes throw this error when something that should be
  9.   * impossible has happened. This error is usually due to incorrect program
  10.   * logic.
  11.   */
  12. public class InconsistencyException extends Error {
  13.     /** Constructs an InconsistencyException with no message.
  14.       */
  15.     public InconsistencyException() {
  16.         super();
  17.     }
  18.  
  19.     /** Constructs an InconsistencyException with a descriptive message.
  20.       */
  21.     public InconsistencyException(String s) {
  22.         super(s);
  23.     }
  24. }
  25.